package com.ruoyi.refund.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 缴费信息对象 house_cost_t
 * 
 * @author lijie
 * @date 2023-04-24
 */
public class HouseRefundT extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @Excel(name = "地址")
    private String doorAddr;
    @Excel(name = "房屋编号")
    private String houseId;
    @Excel(name = "姓名")
    private String userName;
    @Excel(name = "退款金额")
    private Double refundMoney;
    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundDate;

    /** 收费员 */
    @Excel(name = "收费员")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;
    @Excel(name = "备注")
    private String remark;

    private Long costId;

    private String areaName;

    private String groupName;

    private String unitName;

    private String doorName;

    /** 流水号 */
    private String serial;

    /** 缴费金额 */
    private Double costMoney;

    /** 缴费时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date costDate;

    /** 缴费状态,COST001, 1：已缴 2：退款 3:返还 */
    //@Excel(name = "缴费状态,COST001, 1：已缴 2：退款 3:返还",readConverterExp = "1=已缴,2=退款,3=返还")
    private String costSts;

    /** 缴费渠道,COST002, 1：自助收费 2：银行代收 3：微信 */
    //@Excel(name = "缴费渠道",readConverterExp = "1=自助收费,2=银行代收,3=微信")
    private String costWay;

    /** 对账状态,COST003, 0：未对账 1：已对账 */
    //@Excel(name = "对账状态",readConverterExp = "0=未对账,1=已对账")
    private String checkSts;

    /** 退款状态,COST005, 0：未退款 1：已退款 */
    private String refundSts;

    /** 发票号码 */
    private String billNo;

    /** 缴费金额 */
    private Double balance;

    /** 退款id */
    private Long refundId;

    private Double moneyOri;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date refundDate1;
    private String costRefundId;
    public void setRefundId(Long refundId)
    {
        this.refundId = refundId;
    }

    public Long getRefundId()
    {
        return refundId;
    }
    public void setRefundMoney(Double refundMoney)
    {
        this.refundMoney = refundMoney;
    }

    public Double getRefundMoney()
    {
        return refundMoney;
    }
    public void setRefundDate(Date refundDate)
    {
        this.refundDate = refundDate;
    }

    public Date getRefundDate()
    {
        return refundDate;
    }


    public void setCostId(Long costId) 
    {
        this.costId = costId;
    }

    public Long getCostId() 
    {
        return costId;
    }
    public void setHouseId(String houseId) 
    {
        this.houseId = houseId;
    }

    public String getHouseId() 
    {
        return houseId;
    }
    public void setSerial(String serial) 
    {
        this.serial = serial;
    }

    public String getSerial() 
    {
        return serial;
    }
    public void setCostMoney(Double costMoney)
    {
        this.costMoney = costMoney;
    }

    public Double getCostMoney()
    {
        return costMoney;
    }
    public void setCostDate(Date costDate) 
    {
        this.costDate = costDate;
    }

    public Date getCostDate() 
    {
        return costDate;
    }
    public void setCostSts(String costSts) 
    {
        this.costSts = costSts;
    }

    public String getCostSts() 
    {
        return costSts;
    }
    public void setCostWay(String costWay) 
    {
        this.costWay = costWay;
    }

    public String getCostWay() 
    {
        return costWay;
    }
    public void setCheckSts(String checkSts) 
    {
        this.checkSts = checkSts;
    }

    public String getCheckSts() 
    {
        return checkSts;
    }
    public void setBillNo(String billNo) 
    {
        this.billNo = billNo;
    }

    public String getBillNo() 
    {
        return billNo;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getRefundSts() {
        return refundSts;
    }

    public void setRefundSts(String refundSts) {
        this.refundSts = refundSts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("areaName", getAreaName())
                .append("groupName", getGroupName())
                .append("unitName", getUnitName())
                .append("doorName", getDoorName())
            .append("costId", getCostId())
            .append("houseId", getHouseId())
            .append("serial", getSerial())
            .append("costMoney", getCostMoney())
            .append("costDate", getCostDate())
            .append("costSts", getCostSts())
            .append("costWay", getCostWay())
            .append("checkSts", getCheckSts())
            .append("billNo", getBillNo())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .append("remark", getRemark())
            .append("refundId", getRefundId())
            .append("refundMoney", getRefundMoney())
            .append("refundDate", getRefundDate())
            .toString();
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public Double getMoneyOri() {
        return moneyOri;
    }

    public void setMoneyOri(Double moneyOri) {
        this.moneyOri = moneyOri;
    }

    public Date getRefundDate1() {
        return refundDate1;
    }

    public void setRefundDate1(Date refundDate1) {
        this.refundDate1 = refundDate1;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCostRefundId() {
        return costRefundId;
    }

    public void setCostRefundId(String costRefundId) {
        this.costRefundId = costRefundId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDoorAddr() {
        return doorAddr;
    }

    public void setDoorAddr(String doorAddr) {
        this.doorAddr = doorAddr;
    }
}
